-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: underlined text in homepage cards #400
base: main
Are you sure you want to change the base?
Conversation
kgowru
commented
Feb 5, 2025
•
edited
Loading
edited
- Remove underline on text on https://docs.cohere.com/ home
🌿 Preview your docs: https://cohere-preview-bcb46e8e-02df-475a-89d8-5a505a67c98d.docs.buildwithfern.com |
🌿 Preview your docs: https://cohere-preview-eea365a3-c756-43e4-a7d5-9a96fe993efe.docs.buildwithfern.com |
@@ -32,6 +32,7 @@ export const LandingPageCard = ({ href, title, imgSrc, description }) => ( | |||
href={href} | |||
target="_self" | |||
className="flex h-full flex-col justify-between" | |||
style={{ textDecoration: 'none' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: instead of using inline style we can use tailwind class no-underline
, it will also remove text underline
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tailwind doesn't work in this scenario, there's an issue with tailwind loading. We will fix this at a platform level soon :).
For an immediate fix, this is the only solve!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh I see, okay